package zut.cs.liziflower.service;

import com.sun.org.apache.xpath.internal.operations.Or;
import io.swagger.models.auth.In;
import zut.cs.liziflower.entity.Orderitems;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-26
 */
public interface IOrderitemsService extends IService<Orderitems> {

    //添加子订单
    int addItem(Integer orderid, Integer userid, Integer flowerid, Integer num);

    //获取子订单详情
    List<Orderitems> getAllItems(Integer orderid, Integer userid);

    int deletePaid(Integer orderid, Integer userid);
}
